﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC09Controller
    /// </summary>
    public class VYC09Controller
    {
        private static VYC09BO _vyc09Bo;
        public VYC09Controller()
        {
            _vyc09Bo = new VYC09BO();
        }

        public List<ModelVYC09> GetAllList()
        {
            return _vyc09Bo.GetAllList();
        }

        public int AddData(ModelVYC09 model)
        {
            return _vyc09Bo.AddData(model);
        }

        public int EditData(ModelVYC09 model)
        {
            return _vyc09Bo.EditData(model);
        }

        public int DeleteData(ModelVYC09 model)
        {
            return _vyc09Bo.DeleteData(model);
        }
    }
}